<style scoped>
    .box{width: 100%;height: 100%;}
    
</style>
<template>
    <div class="max">
        <div class="titl">
            <van-nav-bar
            title="签到"
            left-arrow
            @click-left="onClickLeft"
            />
        </div>
        <div class="box">
            <van-calendar v-model:show="show" type="multiple" @confirm="onConfirm" position="right" />
        </div>
    </div>
</template>
<script setup lang="ts">
import { ref } from 'vue';
const onClickLeft = () => history.back()
    const show = ref(true);
    const onConfirm = (dates) => {
      show.value = true;
    };
</script>